from django.http import HttpResponse
from django.shortcuts import render


# Create your views here.
def index(request):
    return HttpResponse('欢迎光临~')


def add(request):
    a = request.GET['a']
    b = request.GET['b']
    return HttpResponse(int(a) + int(b))
